package com.zxc.service;

import com.zxc.model.Equipment.Equipment;
import com.zxc.model.Equipment.EquipmentApply;
import com.zxc.model.ParkDaily.ParkState;
import com.zxc.model.ParkDetails;
import com.zxc.model.seeds;

import java.util.List;


public interface ParkService {


    //通过园区主键查询设备信息selectEquipmentByAccount
    public List<Equipment> printEquipment(String id);
    //通过账号查询园区设备人员等关联信息
    public List<Equipment> selectEquipmentByAccount(Equipment equipment);
    public List<Equipment> selectEquipmentByUserAccount(Equipment equipment);
    public List<EquipmentApply> selectEquipmentState(EquipmentApply equipment);
    int setEquipmentState(EquipmentApply equipmentApply);
    int updateRowState(Equipment equipment);
    int  setEquipmentApply(EquipmentApply equipmentApply);
    int deleteEquipmentById(Equipment equipment);
    //管理员与用户获取设备各自的设备仓库信息
    //管理员
    List<Equipment> getEquipmentWarehouseRoot(Equipment equipment);
    //用户
    List<Equipment> getEquipmentWarehouseUser(Equipment equipment);

    List<ParkState> getParkData(ParkState parkState);

    int setNewParkData(ParkState parkState);
    List<seeds> getPlant();
}
